Skip to content

Ethernet OPTA: fix crash when DHCP is used on fast DHCP server #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

maidnl
Copy link
Contributor

@maidnl maidnl commented Jun 20, 2024

In some cases, when using a DHCP on an embedded device (like portenta X8) it has been observed an OPTA crash.
This patch keep the Ethernet PHY reset for a little at the beginning so that Ethernet irqs start "arriving" when all is properly set -up.

OPTA: keep ethernet phy under reset at boot

@maidnl maidnl force-pushed the investigate_ethernet_issue branch from 026e42c to 308d1fa Compare June 20, 2024 12:20
@pennam
Copy link
Contributor

pennam commented Jun 20, 2024

@maidnl this causes a red blink of death on my OPTA. I can't reproduce the issue using core 4.1.3, but with this patch on top of 546529a i can easily reproduce the issue just unplugging and replugging the usb cable.

@maidnl
Copy link
Contributor Author

maidnl commented Jul 3, 2024

This pull request is not needed. Found the root cause of the crashes elsewhere.

@maidnl maidnl closed this Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants